/*
 * DiscoverySearchAccurateContract.java
 * business
 *
 * Created by chentao on 2017/4/21.
 *
 * Copyright (c) 2017年 yidiandao. All rights reserved.
 */

package com.yidiandao.business.ui.main.discovery.searchaccurate;

import com.yidiandao.business.base.BasePresenter;
import com.yidiandao.business.base.BaseView;
import com.yidiandao.business.interfaces.LoadMoreListener;
import com.yidiandao.business.interfaces.RefreshLayoutStateListener;

import java.util.List;

public interface DiscoverySearchAccurateContract {

    interface Presenter extends BasePresenter {

        void search(String keyword, boolean isRefreshing);
    }

    interface View extends BaseView<Presenter>,RefreshLayoutStateListener,LoadMoreListener {

        String getKeyword();

        void setItems(List<?> items);

        void setTitleHint(String title);
    }
}
